﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000967 RID: 2407
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ILFBFGAEPAK : IMessage<ILFBFGAEPAK>, IMessage, IEquatable<ILFBFGAEPAK>, IDeepCloneable<ILFBFGAEPAK>, IBufferMessage
	{
		// Token: 0x17001E7F RID: 7807
		// (get) Token: 0x06006C03 RID: 27651 RVA: 0x00121DAF File Offset: 0x0011FFAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ILFBFGAEPAK> Parser
		{
			get
			{
				return ILFBFGAEPAK._parser;
			}
		}

		// Token: 0x17001E80 RID: 7808
		// (get) Token: 0x06006C04 RID: 27652 RVA: 0x00121DB6 File Offset: 0x0011FFB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ILFBFGAEPAKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001E81 RID: 7809
		// (get) Token: 0x06006C05 RID: 27653 RVA: 0x00121DC8 File Offset: 0x0011FFC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ILFBFGAEPAK.Descriptor;
			}
		}

		// Token: 0x06006C06 RID: 27654 RVA: 0x00121DCF File Offset: 0x0011FFCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ILFBFGAEPAK()
		{
		}

		// Token: 0x06006C07 RID: 27655 RVA: 0x00121DF8 File Offset: 0x0011FFF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ILFBFGAEPAK(ILFBFGAEPAK other) : this()
		{
			this.nickname_ = other.nickname_;
			this.headIcon_ = other.headIcon_;
			this.platform_ = other.platform_;
			this.cPEMMCOJKDG_ = other.cPEMMCOJKDG_;
			this.uid_ = other.uid_;
			this.oEKODDNDJKN_ = other.oEKODDNDJKN_;
			this.remarkName_ = other.remarkName_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006C08 RID: 27656 RVA: 0x00121E7C File Offset: 0x0012007C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ILFBFGAEPAK Clone()
		{
			return new ILFBFGAEPAK(this);
		}

		// Token: 0x17001E82 RID: 7810
		// (get) Token: 0x06006C09 RID: 27657 RVA: 0x00121E84 File Offset: 0x00120084
		// (set) Token: 0x06006C0A RID: 27658 RVA: 0x00121E8C File Offset: 0x0012008C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Nickname
		{
			get
			{
				return this.nickname_;
			}
			set
			{
				this.nickname_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17001E83 RID: 7811
		// (get) Token: 0x06006C0B RID: 27659 RVA: 0x00121E9F File Offset: 0x0012009F
		// (set) Token: 0x06006C0C RID: 27660 RVA: 0x00121EA7 File Offset: 0x001200A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HeadIcon
		{
			get
			{
				return this.headIcon_;
			}
			set
			{
				this.headIcon_ = value;
			}
		}

		// Token: 0x17001E84 RID: 7812
		// (get) Token: 0x06006C0D RID: 27661 RVA: 0x00121EB0 File Offset: 0x001200B0
		// (set) Token: 0x06006C0E RID: 27662 RVA: 0x00121EB8 File Offset: 0x001200B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlatformType Platform
		{
			get
			{
				return this.platform_;
			}
			set
			{
				this.platform_ = value;
			}
		}

		// Token: 0x17001E85 RID: 7813
		// (get) Token: 0x06006C0F RID: 27663 RVA: 0x00121EC1 File Offset: 0x001200C1
		// (set) Token: 0x06006C10 RID: 27664 RVA: 0x00121EC9 File Offset: 0x001200C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string CPEMMCOJKDG
		{
			get
			{
				return this.cPEMMCOJKDG_;
			}
			set
			{
				this.cPEMMCOJKDG_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17001E86 RID: 7814
		// (get) Token: 0x06006C11 RID: 27665 RVA: 0x00121EDC File Offset: 0x001200DC
		// (set) Token: 0x06006C12 RID: 27666 RVA: 0x00121EE4 File Offset: 0x001200E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x17001E87 RID: 7815
		// (get) Token: 0x06006C13 RID: 27667 RVA: 0x00121EED File Offset: 0x001200ED
		// (set) Token: 0x06006C14 RID: 27668 RVA: 0x00121EF5 File Offset: 0x001200F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OEKODDNDJKN
		{
			get
			{
				return this.oEKODDNDJKN_;
			}
			set
			{
				this.oEKODDNDJKN_ = value;
			}
		}

		// Token: 0x17001E88 RID: 7816
		// (get) Token: 0x06006C15 RID: 27669 RVA: 0x00121EFE File Offset: 0x001200FE
		// (set) Token: 0x06006C16 RID: 27670 RVA: 0x00121F06 File Offset: 0x00120106
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string RemarkName
		{
			get
			{
				return this.remarkName_;
			}
			set
			{
				this.remarkName_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17001E89 RID: 7817
		// (get) Token: 0x06006C17 RID: 27671 RVA: 0x00121F19 File Offset: 0x00120119
		// (set) Token: 0x06006C18 RID: 27672 RVA: 0x00121F21 File Offset: 0x00120121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x06006C19 RID: 27673 RVA: 0x00121F2A File Offset: 0x0012012A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ILFBFGAEPAK);
		}

		// Token: 0x06006C1A RID: 27674 RVA: 0x00121F38 File Offset: 0x00120138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ILFBFGAEPAK other)
		{
			return other != null && (other == this || (!(this.Nickname != other.Nickname) && this.HeadIcon == other.HeadIcon && this.Platform == other.Platform && !(this.CPEMMCOJKDG != other.CPEMMCOJKDG) && this.Uid == other.Uid && this.OEKODDNDJKN == other.OEKODDNDJKN && !(this.RemarkName != other.RemarkName) && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006C1B RID: 27675 RVA: 0x00121FF0 File Offset: 0x001201F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Nickname.Length != 0)
			{
				num ^= this.Nickname.GetHashCode();
			}
			if (this.HeadIcon != 0U)
			{
				num ^= this.HeadIcon.GetHashCode();
			}
			if (this.Platform != PlatformType.Editor)
			{
				num ^= this.Platform.GetHashCode();
			}
			if (this.CPEMMCOJKDG.Length != 0)
			{
				num ^= this.CPEMMCOJKDG.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.OEKODDNDJKN != 0U)
			{
				num ^= this.OEKODDNDJKN.GetHashCode();
			}
			if (this.RemarkName.Length != 0)
			{
				num ^= this.RemarkName.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006C1C RID: 27676 RVA: 0x001220EA File Offset: 0x001202EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006C1D RID: 27677 RVA: 0x001220F2 File Offset: 0x001202F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006C1E RID: 27678 RVA: 0x001220FC File Offset: 0x001202FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RemarkName.Length != 0)
			{
				output.WriteRawTag(10);
				output.WriteString(this.RemarkName);
			}
			if (this.Nickname.Length != 0)
			{
				output.WriteRawTag(34);
				output.WriteString(this.Nickname);
			}
			if (this.Platform != PlatformType.Editor)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.Platform);
			}
			if (this.OEKODDNDJKN != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.OEKODDNDJKN);
			}
			if (this.CPEMMCOJKDG.Length != 0)
			{
				output.WriteRawTag(66);
				output.WriteString(this.CPEMMCOJKDG);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Level);
			}
			if (this.Uid != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Uid);
			}
			if (this.HeadIcon != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.HeadIcon);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006C1F RID: 27679 RVA: 0x0012220C File Offset: 0x0012040C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Nickname.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Nickname);
			}
			if (this.HeadIcon != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HeadIcon);
			}
			if (this.Platform != PlatformType.Editor)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Platform);
			}
			if (this.CPEMMCOJKDG.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.CPEMMCOJKDG);
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.OEKODDNDJKN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OEKODDNDJKN);
			}
			if (this.RemarkName.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.RemarkName);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006C20 RID: 27680 RVA: 0x00122304 File Offset: 0x00120504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ILFBFGAEPAK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Nickname.Length != 0)
			{
				this.Nickname = other.Nickname;
			}
			if (other.HeadIcon != 0U)
			{
				this.HeadIcon = other.HeadIcon;
			}
			if (other.Platform != PlatformType.Editor)
			{
				this.Platform = other.Platform;
			}
			if (other.CPEMMCOJKDG.Length != 0)
			{
				this.CPEMMCOJKDG = other.CPEMMCOJKDG;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.OEKODDNDJKN != 0U)
			{
				this.OEKODDNDJKN = other.OEKODDNDJKN;
			}
			if (other.RemarkName.Length != 0)
			{
				this.RemarkName = other.RemarkName;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006C21 RID: 27681 RVA: 0x001223DB File Offset: 0x001205DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006C22 RID: 27682 RVA: 0x001223E4 File Offset: 0x001205E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num <= 34U)
					{
						if (num == 10U)
						{
							this.RemarkName = input.ReadString();
							continue;
						}
						if (num == 34U)
						{
							this.Nickname = input.ReadString();
							continue;
						}
					}
					else
					{
						if (num == 40U)
						{
							this.Platform = (PlatformType)input.ReadEnum();
							continue;
						}
						if (num == 56U)
						{
							this.OEKODDNDJKN = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 80U)
				{
					if (num == 66U)
					{
						this.CPEMMCOJKDG = input.ReadString();
						continue;
					}
					if (num == 80U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.Uid = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.HeadIcon = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002939 RID: 10553
		private static readonly MessageParser<ILFBFGAEPAK> _parser = new MessageParser<ILFBFGAEPAK>(() => new ILFBFGAEPAK());

		// Token: 0x0400293A RID: 10554
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400293B RID: 10555
		public const int NicknameFieldNumber = 4;

		// Token: 0x0400293C RID: 10556
		private string nickname_ = "";

		// Token: 0x0400293D RID: 10557
		public const int HeadIconFieldNumber = 13;

		// Token: 0x0400293E RID: 10558
		private uint headIcon_;

		// Token: 0x0400293F RID: 10559
		public const int PlatformFieldNumber = 5;

		// Token: 0x04002940 RID: 10560
		private PlatformType platform_;

		// Token: 0x04002941 RID: 10561
		public const int CPEMMCOJKDGFieldNumber = 8;

		// Token: 0x04002942 RID: 10562
		private string cPEMMCOJKDG_ = "";

		// Token: 0x04002943 RID: 10563
		public const int UidFieldNumber = 11;

		// Token: 0x04002944 RID: 10564
		private uint uid_;

		// Token: 0x04002945 RID: 10565
		public const int OEKODDNDJKNFieldNumber = 7;

		// Token: 0x04002946 RID: 10566
		private uint oEKODDNDJKN_;

		// Token: 0x04002947 RID: 10567
		public const int RemarkNameFieldNumber = 1;

		// Token: 0x04002948 RID: 10568
		private string remarkName_ = "";

		// Token: 0x04002949 RID: 10569
		public const int LevelFieldNumber = 10;

		// Token: 0x0400294A RID: 10570
		private uint level_;
	}
}
